﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Runtime.InteropServices.JavaScript.JSType;

namespace DataAcquisition
{
    public static class VariableStorage
    {
        /// <summary>
        /// GKG机台数量
        /// </summary>
        public static int GKGNumberMachines { get; set; }
        /// <summary>
        /// GKG在线数量
        /// </summary>
        public static int GKGOnlineQuantity { get; set; }
        /// <summary>
        /// GKG机台型号
        /// </summary>
        public static List<string> GKGModel { get; set; }

        /// <summary>
        /// GKG机台型号和是否在线
        /// </summary>
        public static Dictionary<string,int> GKGOnLine { get; set; }=new Dictionary<string, int>();

        /// <summary>
        /// 判断GKG在线机台线程是否已经运行
        /// </summary>
        public static bool gkg_Running { get; set; } = true;
        public static bool ymh_Running { get; set; } = true;
        public static bool hl_Running { get; set; } = true;
        public static bool juki_Running { get; set; } = true;

        /// <summary>
        /// 选择机台类型
        /// </summary>
        public static string SelectType { get; set; }

        /// <summary>
        /// 选择机台型号
        /// </summary>
        public static string SelectModel { get; set; }

        /// <summary>
        /// 机台数量
        /// </summary>
        public static int NumberMachines{ get; set; }
    }
}
